<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 媒体查询是帮助我们检测视口宽度，
        根据视口宽度的不同是为了设置对应的css样式
        */
        @media (width:375.33px){
            html{
                /* font-size: 50px; */
                background-color: rgb(216, 40, 70);
            }
        }
         @media (width:675px){
            html{
                background-color: rgb(45, 184, 50);
            }
        }
         @media (width:1075px){
            html{
                background-color: rgb(216, 192, 255);
            }
        }
        
        /* div{
            width: 2rem;
            height: 3rem;
            background-color: pink;
        } */
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>